﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace ConsoleApp1.Models.DB {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_YGLowPower6", DisableSyncStructure = true)]
	public partial class TYGLowPower6 {

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? A1HL { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? A1HY { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? B1HL { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? B1HY { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? B2HY { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? BatteryVoltage { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? BF1 { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? BF2 { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? BF3 { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? C1HL { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? C1HY { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? C2HY { get; set; }

		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? D1HL { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? D1HY { get; set; }

		[JsonProperty, Column(Name = "deviceId")]
		public long? DeviceId { get; set; }

		[JsonProperty, Column(DbType = "char(10)")]
		public string DeviceType { get; set; }

		[JsonProperty, Column(IsIdentity = true)]
		public long Id { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? SignalStrength { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string TerminalId { get; set; }

		[JsonProperty]
		public DateTime? Time { get; set; }

	}

}
